import Vue from 'vue'
import Router from 'vue-router'
import mainPage from '@/router/view/mainPage'
import contentDetail from '@/router/view/contentDetail'

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'mainPage',
      component: mainPage
    },{
      path: '/contentDetail',
      name: 'contentDetail',
      component: contentDetail
    }
  ]
})
